package com.xbongbong.pro.workorder.pojo;

import com.xbongbong.saas.domain.entity.WorkOrderFlowNodeEntity;
import lombok.Getter;
import lombok.Setter;

import java.util.Set;

/**
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/4/19 14:44
 * @since v1.0
 */
@Getter
@Setter
public class CreateNodeReturnPojo {
    /**
     * 推送人List
     */
    private Set<String> pushIdList;
    /**
     * 负责人
     */
    private String userId;
    /**
     * 新节点
     */
    private WorkOrderFlowNodeEntity workOrderFlowNodeEntity;

    private Boolean isRob;

    public CreateNodeReturnPojo() {
    }

    public CreateNodeReturnPojo(Set<String> pushIdList, String userId, WorkOrderFlowNodeEntity workOrderFlowNodeEntity, Boolean isRob) {
        this.pushIdList = pushIdList;
        this.userId = userId;
        this.workOrderFlowNodeEntity = workOrderFlowNodeEntity;
        this.isRob = isRob;
    }
}
